﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TMIS.BLL
{
    public class Approval
    {
        /// <summary>
        /// 更新审批表信息
        /// </summary>
        /// <param name="approval"></param>
        public void Update(Model.Approval approval)
        {
            DAL.Approval dal = DALFactory.DALFactory.CreateApproval();
            dal.Update(approval);
        }
        /// <summary>
        /// 获取指定ID号的选题审批表
        /// </summary>
        /// <param name="guid"></param>
        public Model.Approval Get(Guid guid)
        {
            DAL.Approval dal = DALFactory.DALFactory.CreateApproval();
            return dal.Get(guid);
        }
    }
}
